<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .error{
            color: red;
            font-size: 1pt;
        }
        body{
            background-image: url("http://seopic.699pic.com/photo/50105/1312.jpg_wh1200.jpg");
            background-color:white;
            background-size:100% ;
            width:1024px ;
            height:700px;
        }
        #box{
            width: 400px;
            height: 450px;
            border: #fceaff solid;
            background-color :rgb(233, 237, 247);
            position: absolute;
            left: 550px;
            top: 100px;
            
           
        }
      .d2{
           position: absolute;
           left: 90px;
           top: 120px;
           
          font-size: 20px;
        }
        #d1{
            top: 60px;
            position: absolute;
            left: 160px;
           
        #ti{
            position: absolute;
            left: 120px;
            top: 80px;
        }
        #t{
            position: absolute;
            left: 50px;
            top: 115px;
        }
      </style>
    <script>
      
        // 显示错误消息
        function printError(elemId, hintMsg) {
            document.getElementById(elemId).innerHTML = hintMsg;
        }
    </script>

</head>
<body>
<div id="box">
    <form id="table_1" onsubmit="return x()" action="file:///D:/%E5%88%9B%E5%BB%BA%E7%9A%84%E6%A1%8C%E9%9D%A2%E5%86%85%E5%AE%B9/%E7%BD%91%E9%A1%B5/%E4%B8%AA%E4%BA%BA%E7%AE%80%E5%8E%86.html">
   <div id="d1"> <h2 id="font1">欢迎登陆</h2></div>
   <div class="d2">
       <h5>账号：<input type="text" width="500" height="30" id="name1"> <span class="error" id="nameErr"></span></h5>
       <h5>密码：<input type="password"width="50" height="30"  id="pwd"><span class="error" id="pwdErr"></span></h5>
      <div id="ti"> <h2><input type="submit" value="登录" height="80" width="80" /></h2>
          </div>

 </form>
</div>
</body>
</html>
